<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="author" content="Luciano Silveira" />
<meta name="language" content="pt-br" />
<link rel="stylesheet" href="stilo.css" type="text/css" />

<title>Controle de Qualidade IPAC</title>
</head>
<body id="my-body">
<div id="main">
<div id="sidebar">
<ul>

	<s:iterator value="menus" status="menu">
		<!--${codMenu} : ${codMenuPrincipal}-->
		<!--${codMenuPrincipal}-->
		<s:if test="%{codMenu == codMenuPrincipal}">

			<s:iterator value="menus" status="menu">

				<li class="category"><s:a href="#">
					<s:property value="desMenu" />
				</s:a></li>

				<s:iterator value="menus" status="menu">

					<li><s:a theme="ajax" href="%{desAction}" targets="conteudoIframe">
						<s:property value="desMenu" />
					</s:a></li>

				</s:iterator>

			</s:iterator>

		</s:if>

	</s:iterator>


<%--
	<!--	<s:iterator value="menus" status="menu">-->
	<!---->
	<!--		<s:textfield label="codMenuPrincipal" value="codMenuPrincipal" name="empname" />-->
	<!---->
	<!--		<s:if test="%{codMenuPai == codMenuPrincipal}">-->
	<!---->
	<!--			<li class="category"><s:a href="#">teste</s:a></li>-->
	<!---->
	<!--		</s:if>-->
	<!---->
	<!--	</s:iterator>-->


	<!--	<li class="category"><s:a href="#">Gerenciar Funcionarios</s:a></li>-->
	<!--	<li><s:a theme="ajax" href="" targets="conteudoIframe">Cadastrar Funcionario</s:a></li>-->
	<!--	<li><s:a theme="ajax" href="funcionario-busca.action"-->
	<!--		targets="conteudoIframe">Buscar Funcionarios</s:a></li>-->
	<!--	<li class="category"><s:a href="#">Gerenciar Setores</s:a></li>-->
	<!--	<li><s:a theme="ajax" href="setor-cadastra.action"-->
	<!--		targets="conteudoIframe">Cadastrar Setor</s:a></li>-->
	<!--	<li><s:a theme="ajax" href="setor-busca.action"-->
	<!--		targets="conteudoIframe">Buscar Setores</s:a></li>-->
	--%>
</ul>
</div>
<div id="conteudoIframe"></div>
</div>
</body>
</html>